/**
 * @author liangxi
 * @since 2024/4/10
 */

#ifndef DESIGNPATTERN_STATE_H
#define DESIGNPATTERN_STATE_H


class State {
public:
    //投入25分钱
    virtual void insertQuarter() = 0;

    //退回25分钱
    virtual void ejectQuarter() = 0;

    //转动曲柄
    virtual void turnCrank() = 0;

    //发放糖果
    virtual void dispense() = 0;
};

// GumballState

#endif //DESIGNPATTERN_STATE_H
